package com.yourvote.dao;

import com.yourvote.model.Candidate;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: pavlo.fedyna
 * Date: 10/25/12
 * Time: 4:27 PM
 * To change this template use File | Settings | File Templates.
 */
public interface CandidateDao extends BaseDao {
    List<Candidate> getAll();

    void add(Candidate candidate);

    Candidate getCandidate(String name);

    void remove(Candidate candidate);
}
